package org.example.library_management_system.enums;

public enum ResultStatus {
    SUCCESS(200),//成功
    UNLOGIN(-1),//失败,未登录
    FAIL(-2),//异常
    ;

    private Integer code;

    ResultStatus(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
